package com.jt.text.config;

import com.jt.text.pojo.Dog;
import com.jt.text.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserConfig {

    @Bean
    public User user(){
        return new User(101,"好好学习");
    }
    @Bean
    public Dog dog(){
        return new Dog("啸天","中华田园犬");
    }
}
